// mea3D JSON 3D Model File
// v1.0

var gearMeshTemplate = {
  name:"gearShape", 
  materialIndex:1,
  //704 vertices
  //176 polygons
  vertices:[        
     1.207407,  0.323524,  0.625000,
     1.250000, -0.000000,  0.625000,
     1.250000,  0.000000, -0.625000,
     1.207407,  0.323524, -0.625000,
     1.082532,  0.625000,  0.625000,
     1.207407,  0.323524,  0.625000,
     1.207407,  0.323524, -0.625000,
     1.082532,  0.625000, -0.625000,
     0.883883,  0.883883,  0.625000,
     1.082532,  0.625000,  0.625000,
     1.082532,  0.625000, -0.625000,
     0.883883,  0.883883, -0.625000,
     0.123343,  0.213636,  0.511695,
     0.246712,  0.102191,  0.511695,
     0.246712,  0.102191, -0.511695,
     0.123343,  0.213636, -0.511695,
     0.063847,  0.238280,  0.511695,
     0.123343,  0.213636,  0.511695,
     0.123343,  0.213636, -0.511695,
     0.063847,  0.238280, -0.511695,
    -0.102191,  0.246712,  0.511695,
     0.063847,  0.238280,  0.511695,
     0.063847,  0.238280, -0.511695,
    -0.102191,  0.246712, -0.511695,
    -0.323524,  1.207407,  0.625000,
    -0.000000,  1.250000,  0.625000,
    -0.000000,  1.250000, -0.625000,
    -0.323524,  1.207407, -0.625000,
    -0.625000,  1.082532,  0.625000,
    -0.323524,  1.207407,  0.625000,
    -0.323524,  1.207407, -0.625000,
    -0.625000,  1.082532, -0.625000,
    -0.883883,  0.883883,  0.625000,
    -0.625000,  1.082532,  0.625000,
    -0.625000,  1.082532, -0.625000,
    -0.883883,  0.883883, -0.625000,
    -0.213636,  0.123343,  0.511695,
    -0.102191,  0.246712,  0.511695,
    -0.102191,  0.246712, -0.511695,
    -0.213636,  0.123343, -0.511695,
    -0.238280,  0.063847,  0.511695,
    -0.213636,  0.123343,  0.511695,
    -0.213636,  0.123343, -0.511695,
    -0.238280,  0.063847, -0.511695,
    -0.246712, -0.102191,  0.511695,
    -0.238280,  0.063847,  0.511695,
    -0.238280,  0.063847, -0.511695,
    -0.246712, -0.102191, -0.511695,
    -1.207407, -0.323524,  0.625000,
    -1.250000, -0.000000,  0.625000,
    -1.250000, -0.000000, -0.625000,
    -1.207407, -0.323524, -0.625000,
    -1.082532, -0.625000,  0.625000,
    -1.207407, -0.323524,  0.625000,
    -1.207407, -0.323524, -0.625000,
    -1.082532, -0.625000, -0.625000,
    -0.883883, -0.883883,  0.625000,
    -1.082532, -0.625000,  0.625000,
    -1.082532, -0.625000, -0.625000,
    -0.883883, -0.883883, -0.625000,
    -0.123343, -0.213636,  0.511695,
    -0.246712, -0.102191,  0.511695,
    -0.246712, -0.102191, -0.511695,
    -0.123343, -0.213636, -0.511695,
    -0.063847, -0.238280,  0.511695,
    -0.123343, -0.213636,  0.511695,
    -0.123343, -0.213636, -0.511695,
    -0.063847, -0.238280, -0.511695,
     0.102191, -0.246712,  0.511695,
    -0.063847, -0.238280,  0.511695,
    -0.063847, -0.238280, -0.511695,
     0.102191, -0.246712, -0.511695,
     0.323524, -1.207407,  0.625000,
     0.000000, -1.250000,  0.625000,
     0.000000, -1.250000, -0.625000,
     0.323524, -1.207407, -0.625000,
     0.625000, -1.082532,  0.625000,
     0.323524, -1.207407,  0.625000,
     0.323524, -1.207407, -0.625000,
     0.625000, -1.082532, -0.625000,
     0.883883, -0.883883,  0.625000,
     0.625000, -1.082532,  0.625000,
     0.625000, -1.082532, -0.625000,
     0.883883, -0.883883, -0.625000,
     0.213636, -0.123343,  0.511695,
     0.102191, -0.246712,  0.511695,
     0.102191, -0.246712, -0.511695,
     0.213636, -0.123343, -0.511694,
     0.238280, -0.063847,  0.511695,
     0.213636, -0.123343,  0.511695,
     0.213636, -0.123343, -0.511694,
     0.238280, -0.063847, -0.511695,
     0.246712,  0.102191,  0.511695,
     0.238280, -0.063847,  0.511695,
     0.238280, -0.063847, -0.511695,
     0.246712,  0.102191, -0.511695,
     1.207407,  0.323524, -0.625000,
     1.250000,  0.000000, -0.625000,
     1.500000,  0.000000, -0.625000,
     1.448889,  0.388229, -0.625000,
     1.082532,  0.625000, -0.625000,
     1.207407,  0.323524, -0.625000,
     1.448889,  0.388229, -0.625000,
     1.299038,  0.750000, -0.625000,
     0.883883,  0.883883, -0.625000,
     1.082532,  0.625000, -0.625000,
     1.299038,  0.750000, -0.625000,
     1.060660,  1.060660, -0.625000,
     0.625000,  1.082532, -0.625000,
     0.883883,  0.883883, -0.625000,
     1.060660,  1.060660, -0.625000,
     0.750000,  1.299038, -0.625000,
     0.323524,  1.207407, -0.625000,
     0.625000,  1.082532, -0.625000,
     0.750000,  1.299038, -0.625000,
     0.388228,  1.448888, -0.625000,
    -0.000000,  1.250000, -0.625000,
     0.323524,  1.207407, -0.625000,
     0.388228,  1.448888, -0.625000,
    -0.000000,  1.500000, -0.625000,
    -0.323524,  1.207407, -0.625000,
    -0.000000,  1.250000, -0.625000,
    -0.000000,  1.500000, -0.625000,
    -0.388229,  1.448888, -0.625000,
    -0.625000,  1.082532, -0.625000,
    -0.323524,  1.207407, -0.625000,
    -0.388229,  1.448888, -0.625000,
    -0.750000,  1.299038, -0.625000,
    -0.883883,  0.883883, -0.625000,
    -0.625000,  1.082532, -0.625000,
    -0.750000,  1.299038, -0.625000,
    -1.060660,  1.060660, -0.625000,
    -1.082532,  0.625000, -0.625000,
    -0.883883,  0.883883, -0.625000,
    -1.060660,  1.060660, -0.625000,
    -1.299038,  0.750000, -0.625000,
    -1.207407,  0.323524, -0.625000,
    -1.082532,  0.625000, -0.625000,
    -1.299038,  0.750000, -0.625000,
    -1.448888,  0.388228, -0.625000,
    -1.250000, -0.000000, -0.625000,
    -1.207407,  0.323524, -0.625000,
    -1.448888,  0.388228, -0.625000,
    -1.500000, -0.000000, -0.625000,
    -1.207407, -0.323524, -0.625000,
    -1.250000, -0.000000, -0.625000,
    -1.500000, -0.000000, -0.625000,
    -1.448888, -0.388229, -0.625000,
    -1.082532, -0.625000, -0.625000,
    -1.207407, -0.323524, -0.625000,
    -1.448888, -0.388229, -0.625000,
    -1.299038, -0.750000, -0.625000,
    -0.883883, -0.883883, -0.625000,
    -1.082532, -0.625000, -0.625000,
    -1.299038, -0.750000, -0.625000,
    -1.060660, -1.060660, -0.625000,
    -0.625000, -1.082532, -0.625000,
    -0.883883, -0.883883, -0.625000,
    -1.060660, -1.060660, -0.625000,
    -0.750000, -1.299038, -0.625000,
    -0.323524, -1.207407, -0.625000,
    -0.625000, -1.082532, -0.625000,
    -0.750000, -1.299038, -0.625000,
    -0.388229, -1.448888, -0.625000,
     0.000000, -1.250000, -0.625000,
    -0.323524, -1.207407, -0.625000,
    -0.388229, -1.448888, -0.625000,
    -0.000000, -1.500000, -0.625000,
     0.323524, -1.207407, -0.625000,
     0.000000, -1.250000, -0.625000,
    -0.000000, -1.500000, -0.625000,
     0.388228, -1.448888, -0.625000,
     0.625000, -1.082532, -0.625000,
     0.323524, -1.207407, -0.625000,
     0.388228, -1.448888, -0.625000,
     0.750000, -1.299038, -0.625000,
     0.883883, -0.883883, -0.625000,
     0.625000, -1.082532, -0.625000,
     0.750000, -1.299038, -0.625000,
     1.060660, -1.060660, -0.625000,
     1.082532, -0.625000, -0.625000,
     0.883883, -0.883883, -0.625000,
     1.060660, -1.060660, -0.625000,
     1.299038, -0.750000, -0.625000,
     1.207407, -0.323524, -0.625000,
     1.082532, -0.625000, -0.625000,
     1.299038, -0.750000, -0.625000,
     1.448888, -0.388229, -0.625000,
     1.250000,  0.000000, -0.625000,
     1.207407, -0.323524, -0.625000,
     1.448888, -0.388229, -0.625000,
     1.500000,  0.000000, -0.625000,
     1.907016,  0.411206, -0.506837,
     1.948464,  0.096377, -0.506837,
     1.948464,  0.096377,  0.506837,
     1.907016,  0.411206,  0.506837,
     1.299038,  0.750000, -0.625000,
     1.448889,  0.388229, -0.625000,
     1.448889,  0.388229,  0.625000,
     1.299038,  0.750000,  0.625000,
     1.445921,  1.309623, -0.506837,
     1.639231,  1.057697, -0.506837,
     1.639231,  1.057697,  0.506837,
     1.445921,  1.309623,  0.506837,
     0.750000,  1.299038, -0.625000,
     1.060660,  1.060660, -0.625000,
     1.060660,  1.060660,  0.625000,
     0.750000,  1.299038,  0.625000,
     0.597392,  1.857127, -0.506837,
     0.890767,  1.735608, -0.506837,
     0.890767,  1.735608,  0.506836,
     0.597392,  1.857127,  0.506837,
    -0.000000,  1.500000, -0.625000,
     0.388228,  1.448888, -0.625000,
     0.388228,  1.448889,  0.625000,
    -0.000000,  1.500000,  0.625000,
    -0.411206,  1.907016, -0.506837,
    -0.096377,  1.948463, -0.506837,
    -0.096377,  1.948463,  0.506837,
    -0.411206,  1.907016,  0.506837,
    -0.750000,  1.299038, -0.625000,
    -0.388229,  1.448888, -0.625000,
    -0.388229,  1.448889,  0.625000,
    -0.750000,  1.299038,  0.625000,
    -1.309623,  1.445921, -0.506837,
    -1.057697,  1.639231, -0.506837,
    -1.057697,  1.639231,  0.506837,
    -1.309623,  1.445921,  0.506837,
    -1.299038,  0.750000, -0.625000,
    -1.060660,  1.060660, -0.625000,
    -1.060660,  1.060660,  0.625000,
    -1.299038,  0.750000,  0.625000,
    -1.857127,  0.597392, -0.506837,
    -1.735608,  0.890767, -0.506837,
    -1.735608,  0.890767,  0.506837,
    -1.857127,  0.597392,  0.506837,
    -1.500000, -0.000000, -0.625000,
    -1.448888,  0.388228, -0.625000,
    -1.448888,  0.388228,  0.625000,
    -1.500000, -0.000000,  0.625000,
    -1.907015, -0.411206, -0.506837,
    -1.948463, -0.096377, -0.506837,
    -1.948463, -0.096377,  0.506837,
    -1.907015, -0.411206,  0.506837,
    -1.299038, -0.750000, -0.625000,
    -1.448888, -0.388229, -0.625000,
    -1.448888, -0.388229,  0.625000,
    -1.299038, -0.750000,  0.625000,
    -1.445921, -1.309623, -0.506837,
    -1.639230, -1.057696, -0.506837,
    -1.639230, -1.057696,  0.506837,
    -1.445921, -1.309623,  0.506837,
    -0.750000, -1.299038, -0.625000,
    -1.060660, -1.060660, -0.625000,
    -1.060660, -1.060660,  0.625000,
    -0.750000, -1.299038,  0.625000,
    -0.597393, -1.857127, -0.506837,
    -0.890767, -1.735607, -0.506837,
    -0.890767, -1.735607,  0.506837,
    -0.597393, -1.857127,  0.506837,
    -0.000000, -1.500000, -0.625000,
    -0.388229, -1.448888, -0.625000,
    -0.388229, -1.448888,  0.625000,
    -0.000000, -1.499999,  0.625000,
     0.411206, -1.907015, -0.506837,
     0.096377, -1.948463, -0.506837,
     0.096377, -1.948463,  0.506837,
     0.411206, -1.907015,  0.506837,
     0.750000, -1.299038, -0.625000,
     0.388228, -1.448888, -0.625000,
     0.388228, -1.448888,  0.625000,
     0.750000, -1.299038,  0.625000,
     1.309623, -1.445921, -0.506837,
     1.057696, -1.639230, -0.506837,
     1.057696, -1.639230,  0.506837,
     1.309623, -1.445921,  0.506837,
     1.299038, -0.750000, -0.625000,
     1.060660, -1.060660, -0.625000,
     1.060660, -1.060660,  0.625000,
     1.299038, -0.750000,  0.625000,
     1.857127, -0.597393, -0.506837,
     1.735607, -0.890767, -0.506837,
     1.735607, -0.890767,  0.506837,
     1.857127, -0.597393,  0.506837,
     1.500000,  0.000000, -0.625000,
     1.448888, -0.388229, -0.625000,
     1.448888, -0.388229,  0.625000,
     1.500000, -0.000000,  0.625000,
     1.448889,  0.388229,  0.625000,
     1.500000, -0.000000,  0.625000,
     1.250000, -0.000000,  0.625000,
     1.207407,  0.323524,  0.625000,
     1.299038,  0.750000,  0.625000,
     1.448889,  0.388229,  0.625000,
     1.207407,  0.323524,  0.625000,
     1.082532,  0.625000,  0.625000,
     1.060660,  1.060660,  0.625000,
     1.299038,  0.750000,  0.625000,
     1.082532,  0.625000,  0.625000,
     0.883883,  0.883883,  0.625000,
     0.750000,  1.299038,  0.625000,
     1.060660,  1.060660,  0.625000,
     0.883883,  0.883883,  0.625000,
     0.625000,  1.082532,  0.625000,
     0.388228,  1.448889,  0.625000,
     0.750000,  1.299038,  0.625000,
     0.625000,  1.082532,  0.625000,
     0.323524,  1.207407,  0.625000,
    -0.000000,  1.500000,  0.625000,
     0.388228,  1.448889,  0.625000,
     0.323524,  1.207407,  0.625000,
    -0.000000,  1.250000,  0.625000,
    -0.388229,  1.448889,  0.625000,
    -0.000000,  1.500000,  0.625000,
    -0.000000,  1.250000,  0.625000,
    -0.323524,  1.207407,  0.625000,
    -0.750000,  1.299038,  0.625000,
    -0.388229,  1.448889,  0.625000,
    -0.323524,  1.207407,  0.625000,
    -0.625000,  1.082532,  0.625000,
    -1.060660,  1.060660,  0.625000,
    -0.750000,  1.299038,  0.625000,
    -0.625000,  1.082532,  0.625000,
    -0.883883,  0.883883,  0.625000,
    -1.299038,  0.750000,  0.625000,
    -1.060660,  1.060660,  0.625000,
    -0.883883,  0.883883,  0.625000,
    -1.082532,  0.625000,  0.625000,
    -1.448888,  0.388228,  0.625000,
    -1.299038,  0.750000,  0.625000,
    -1.082532,  0.625000,  0.625000,
    -1.207407,  0.323524,  0.625000,
    -1.500000, -0.000000,  0.625000,
    -1.448888,  0.388228,  0.625000,
    -1.207407,  0.323524,  0.625000,
    -1.250000, -0.000000,  0.625000,
    -1.448888, -0.388229,  0.625000,
    -1.500000, -0.000000,  0.625000,
    -1.250000, -0.000000,  0.625000,
    -1.207407, -0.323524,  0.625000,
    -1.299038, -0.750000,  0.625000,
    -1.448888, -0.388229,  0.625000,
    -1.207407, -0.323524,  0.625000,
    -1.082532, -0.625000,  0.625000,
    -1.060660, -1.060660,  0.625000,
    -1.299038, -0.750000,  0.625000,
    -1.082532, -0.625000,  0.625000,
    -0.883883, -0.883883,  0.625000,
    -0.750000, -1.299038,  0.625000,
    -1.060660, -1.060660,  0.625000,
    -0.883883, -0.883883,  0.625000,
    -0.625000, -1.082532,  0.625000,
    -0.388229, -1.448888,  0.625000,
    -0.750000, -1.299038,  0.625000,
    -0.625000, -1.082532,  0.625000,
    -0.323524, -1.207407,  0.625000,
    -0.000000, -1.499999,  0.625000,
    -0.388229, -1.448888,  0.625000,
    -0.323524, -1.207407,  0.625000,
     0.000000, -1.250000,  0.625000,
     0.388228, -1.448888,  0.625000,
    -0.000000, -1.499999,  0.625000,
     0.000000, -1.250000,  0.625000,
     0.323524, -1.207407,  0.625000,
     0.750000, -1.299038,  0.625000,
     0.388228, -1.448888,  0.625000,
     0.323524, -1.207407,  0.625000,
     0.625000, -1.082532,  0.625000,
     1.060660, -1.060660,  0.625000,
     0.750000, -1.299038,  0.625000,
     0.625000, -1.082532,  0.625000,
     0.883883, -0.883883,  0.625000,
     1.299038, -0.750000,  0.625000,
     1.060660, -1.060660,  0.625000,
     0.883883, -0.883883,  0.625000,
     1.082532, -0.625000,  0.625000,
     1.448888, -0.388229,  0.625000,
     1.299038, -0.750000,  0.625000,
     1.082532, -0.625000,  0.625000,
     1.207407, -0.323524,  0.625000,
     1.500000, -0.000000,  0.625000,
     1.448888, -0.388229,  0.625000,
     1.207407, -0.323524,  0.625000,
     1.250000, -0.000000,  0.625000,
     1.448889,  0.388229, -0.625000,
     1.500000,  0.000000, -0.625000,
     1.948464,  0.096377, -0.506837,
     1.907016,  0.411206, -0.506837,
     1.500000,  0.000000, -0.625000,
     1.500000, -0.000000,  0.625000,
     1.948464,  0.096377,  0.506837,
     1.948464,  0.096377, -0.506837,
     1.500000, -0.000000,  0.625000,
     1.448889,  0.388229,  0.625000,
     1.907016,  0.411206,  0.506837,
     1.948464,  0.096377,  0.506837,
     1.448889,  0.388229,  0.625000,
     1.448889,  0.388229, -0.625000,
     1.907016,  0.411206, -0.506837,
     1.907016,  0.411206,  0.506837,
     1.060660,  1.060660, -0.625000,
     1.299038,  0.750000, -0.625000,
     1.639231,  1.057697, -0.506837,
     1.445921,  1.309623, -0.506837,
     1.299038,  0.750000, -0.625000,
     1.299038,  0.750000,  0.625000,
     1.639231,  1.057697,  0.506837,
     1.639231,  1.057697, -0.506837,
     1.299038,  0.750000,  0.625000,
     1.060660,  1.060660,  0.625000,
     1.445921,  1.309623,  0.506837,
     1.639231,  1.057697,  0.506837,
     1.060660,  1.060660,  0.625000,
     1.060660,  1.060660, -0.625000,
     1.445921,  1.309623, -0.506837,
     1.445921,  1.309623,  0.506837,
     0.388228,  1.448888, -0.625000,
     0.750000,  1.299038, -0.625000,
     0.890767,  1.735608, -0.506837,
     0.597392,  1.857127, -0.506837,
     0.750000,  1.299038, -0.625000,
     0.750000,  1.299038,  0.625000,
     0.890767,  1.735608,  0.506836,
     0.890767,  1.735608, -0.506837,
     0.750000,  1.299038,  0.625000,
     0.388228,  1.448889,  0.625000,
     0.597392,  1.857127,  0.506837,
     0.890767,  1.735608,  0.506836,
     0.388228,  1.448889,  0.625000,
     0.388228,  1.448888, -0.625000,
     0.597392,  1.857127, -0.506837,
     0.597392,  1.857127,  0.506837,
    -0.388229,  1.448888, -0.625000,
    -0.000000,  1.500000, -0.625000,
    -0.096377,  1.948463, -0.506837,
    -0.411206,  1.907016, -0.506837,
    -0.000000,  1.500000, -0.625000,
    -0.000000,  1.500000,  0.625000,
    -0.096377,  1.948463,  0.506837,
    -0.096377,  1.948463, -0.506837,
    -0.000000,  1.500000,  0.625000,
    -0.388229,  1.448889,  0.625000,
    -0.411206,  1.907016,  0.506837,
    -0.096377,  1.948463,  0.506837,
    -0.388229,  1.448889,  0.625000,
    -0.388229,  1.448888, -0.625000,
    -0.411206,  1.907016, -0.506837,
    -0.411206,  1.907016,  0.506837,
    -1.060660,  1.060660, -0.625000,
    -0.750000,  1.299038, -0.625000,
    -1.057697,  1.639231, -0.506837,
    -1.309623,  1.445921, -0.506837,
    -0.750000,  1.299038, -0.625000,
    -0.750000,  1.299038,  0.625000,
    -1.057697,  1.639231,  0.506837,
    -1.057697,  1.639231, -0.506837,
    -0.750000,  1.299038,  0.625000,
    -1.060660,  1.060660,  0.625000,
    -1.309623,  1.445921,  0.506837,
    -1.057697,  1.639231,  0.506837,
    -1.060660,  1.060660,  0.625000,
    -1.060660,  1.060660, -0.625000,
    -1.309623,  1.445921, -0.506837,
    -1.309623,  1.445921,  0.506837,
    -1.448888,  0.388228, -0.625000,
    -1.299038,  0.750000, -0.625000,
    -1.735608,  0.890767, -0.506837,
    -1.857127,  0.597392, -0.506837,
    -1.299038,  0.750000, -0.625000,
    -1.299038,  0.750000,  0.625000,
    -1.735608,  0.890767,  0.506837,
    -1.735608,  0.890767, -0.506837,
    -1.299038,  0.750000,  0.625000,
    -1.448888,  0.388228,  0.625000,
    -1.857127,  0.597392,  0.506837,
    -1.735608,  0.890767,  0.506837,
    -1.448888,  0.388228,  0.625000,
    -1.448888,  0.388228, -0.625000,
    -1.857127,  0.597392, -0.506837,
    -1.857127,  0.597392,  0.506837,
    -1.448888, -0.388229, -0.625000,
    -1.500000, -0.000000, -0.625000,
    -1.948463, -0.096377, -0.506837,
    -1.907015, -0.411206, -0.506837,
    -1.500000, -0.000000, -0.625000,
    -1.500000, -0.000000,  0.625000,
    -1.948463, -0.096377,  0.506837,
    -1.948463, -0.096377, -0.506837,
    -1.500000, -0.000000,  0.625000,
    -1.448888, -0.388229,  0.625000,
    -1.907015, -0.411206,  0.506837,
    -1.948463, -0.096377,  0.506837,
    -1.448888, -0.388229,  0.625000,
    -1.448888, -0.388229, -0.625000,
    -1.907015, -0.411206, -0.506837,
    -1.907015, -0.411206,  0.506837,
    -1.060660, -1.060660, -0.625000,
    -1.299038, -0.750000, -0.625000,
    -1.639230, -1.057696, -0.506837,
    -1.445921, -1.309623, -0.506837,
    -1.299038, -0.750000, -0.625000,
    -1.299038, -0.750000,  0.625000,
    -1.639230, -1.057696,  0.506837,
    -1.639230, -1.057696, -0.506837,
    -1.299038, -0.750000,  0.625000,
    -1.060660, -1.060660,  0.625000,
    -1.445921, -1.309623,  0.506837,
    -1.639230, -1.057696,  0.506837,
    -1.060660, -1.060660,  0.625000,
    -1.060660, -1.060660, -0.625000,
    -1.445921, -1.309623, -0.506837,
    -1.445921, -1.309623,  0.506837,
    -0.388229, -1.448888, -0.625000,
    -0.750000, -1.299038, -0.625000,
    -0.890767, -1.735607, -0.506837,
    -0.597393, -1.857127, -0.506837,
    -0.750000, -1.299038, -0.625000,
    -0.750000, -1.299038,  0.625000,
    -0.890767, -1.735607,  0.506837,
    -0.890767, -1.735607, -0.506837,
    -0.750000, -1.299038,  0.625000,
    -0.388229, -1.448888,  0.625000,
    -0.597393, -1.857127,  0.506837,
    -0.890767, -1.735607,  0.506837,
    -0.388229, -1.448888,  0.625000,
    -0.388229, -1.448888, -0.625000,
    -0.597393, -1.857127, -0.506837,
    -0.597393, -1.857127,  0.506837,
     0.388228, -1.448888, -0.625000,
    -0.000000, -1.500000, -0.625000,
     0.096377, -1.948463, -0.506837,
     0.411206, -1.907015, -0.506837,
    -0.000000, -1.500000, -0.625000,
    -0.000000, -1.499999,  0.625000,
     0.096377, -1.948463,  0.506837,
     0.096377, -1.948463, -0.506837,
    -0.000000, -1.499999,  0.625000,
     0.388228, -1.448888,  0.625000,
     0.411206, -1.907015,  0.506837,
     0.096377, -1.948463,  0.506837,
     0.388228, -1.448888,  0.625000,
     0.388228, -1.448888, -0.625000,
     0.411206, -1.907015, -0.506837,
     0.411206, -1.907015,  0.506837,
     1.060660, -1.060660, -0.625000,
     0.750000, -1.299038, -0.625000,
     1.057696, -1.639230, -0.506837,
     1.309623, -1.445921, -0.506837,
     0.750000, -1.299038, -0.625000,
     0.750000, -1.299038,  0.625000,
     1.057696, -1.639230,  0.506837,
     1.057696, -1.639230, -0.506837,
     0.750000, -1.299038,  0.625000,
     1.060660, -1.060660,  0.625000,
     1.309623, -1.445921,  0.506837,
     1.057696, -1.639230,  0.506837,
     1.060660, -1.060660,  0.625000,
     1.060660, -1.060660, -0.625000,
     1.309623, -1.445921, -0.506837,
     1.309623, -1.445921,  0.506837,
     1.448888, -0.388229, -0.625000,
     1.299038, -0.750000, -0.625000,
     1.735607, -0.890767, -0.506837,
     1.857127, -0.597393, -0.506837,
     1.299038, -0.750000, -0.625000,
     1.299038, -0.750000,  0.625000,
     1.735607, -0.890767,  0.506837,
     1.735607, -0.890767, -0.506837,
     1.299038, -0.750000,  0.625000,
     1.448888, -0.388229,  0.625000,
     1.857127, -0.597393,  0.506837,
     1.735607, -0.890767,  0.506837,
     1.448888, -0.388229,  0.625000,
     1.448888, -0.388229, -0.625000,
     1.857127, -0.597393, -0.506837,
     1.857127, -0.597393,  0.506837,
     0.625000,  1.082532,  0.625000,
     0.883883,  0.883883,  0.625000,
     0.246712,  0.102191,  0.511695,
     0.123343,  0.213636,  0.511695,
     0.883883,  0.883883,  0.625000,
     0.883883,  0.883883, -0.625000,
     0.246712,  0.102191, -0.511695,
     0.246712,  0.102191,  0.511695,
     0.883883,  0.883883, -0.625000,
     0.625000,  1.082532, -0.625000,
     0.123343,  0.213636, -0.511695,
     0.246712,  0.102191, -0.511695,
     0.323524,  1.207407,  0.625000,
     0.625000,  1.082532,  0.625000,
     0.123343,  0.213636,  0.511695,
     0.063847,  0.238280,  0.511695,
     0.625000,  1.082532, -0.625000,
     0.323524,  1.207407, -0.625000,
     0.063847,  0.238280, -0.511695,
     0.123343,  0.213636, -0.511695,
    -0.000000,  1.250000,  0.625000,
     0.323524,  1.207407,  0.625000,
     0.063847,  0.238280,  0.511695,
    -0.102191,  0.246712,  0.511695,
     0.323524,  1.207407, -0.625000,
    -0.000000,  1.250000, -0.625000,
    -0.102191,  0.246712, -0.511695,
     0.063847,  0.238280, -0.511695,
    -0.000000,  1.250000, -0.625000,
    -0.000000,  1.250000,  0.625000,
    -0.102191,  0.246712,  0.511695,
    -0.102191,  0.246712, -0.511695,
    -1.082532,  0.625000,  0.625000,
    -0.883883,  0.883883,  0.625000,
    -0.102191,  0.246712,  0.511695,
    -0.213636,  0.123343,  0.511695,
    -0.883883,  0.883883,  0.625000,
    -0.883883,  0.883883, -0.625000,
    -0.102191,  0.246712, -0.511695,
    -0.102191,  0.246712,  0.511695,
    -0.883883,  0.883883, -0.625000,
    -1.082532,  0.625000, -0.625000,
    -0.213636,  0.123343, -0.511695,
    -0.102191,  0.246712, -0.511695,
    -1.207407,  0.323524,  0.625000,
    -1.082532,  0.625000,  0.625000,
    -0.213636,  0.123343,  0.511695,
    -0.238280,  0.063847,  0.511695,
    -1.082532,  0.625000, -0.625000,
    -1.207407,  0.323524, -0.625000,
    -0.238280,  0.063847, -0.511695,
    -0.213636,  0.123343, -0.511695,
    -1.250000, -0.000000,  0.625000,
    -1.207407,  0.323524,  0.625000,
    -0.238280,  0.063847,  0.511695,
    -0.246712, -0.102191,  0.511695,
    -1.207407,  0.323524, -0.625000,
    -1.250000, -0.000000, -0.625000,
    -0.246712, -0.102191, -0.511695,
    -0.238280,  0.063847, -0.511695,
    -1.250000, -0.000000, -0.625000,
    -1.250000, -0.000000,  0.625000,
    -0.246712, -0.102191,  0.511695,
    -0.246712, -0.102191, -0.511695,
    -0.625000, -1.082532,  0.625000,
    -0.883883, -0.883883,  0.625000,
    -0.246712, -0.102191,  0.511695,
    -0.123343, -0.213636,  0.511695,
    -0.883883, -0.883883,  0.625000,
    -0.883883, -0.883883, -0.625000,
    -0.246712, -0.102191, -0.511695,
    -0.246712, -0.102191,  0.511695,
    -0.883883, -0.883883, -0.625000,
    -0.625000, -1.082532, -0.625000,
    -0.123343, -0.213636, -0.511695,
    -0.246712, -0.102191, -0.511695,
    -0.323524, -1.207407,  0.625000,
    -0.625000, -1.082532,  0.625000,
    -0.123343, -0.213636,  0.511695,
    -0.063847, -0.238280,  0.511695,
    -0.625000, -1.082532, -0.625000,
    -0.323524, -1.207407, -0.625000,
    -0.063847, -0.238280, -0.511695,
    -0.123343, -0.213636, -0.511695,
     0.000000, -1.250000,  0.625000,
    -0.323524, -1.207407,  0.625000,
    -0.063847, -0.238280,  0.511695,
     0.102191, -0.246712,  0.511695,
    -0.323524, -1.207407, -0.625000,
     0.000000, -1.250000, -0.625000,
     0.102191, -0.246712, -0.511695,
    -0.063847, -0.238280, -0.511695,
     0.000000, -1.250000, -0.625000,
     0.000000, -1.250000,  0.625000,
     0.102191, -0.246712,  0.511695,
     0.102191, -0.246712, -0.511695,
     1.082532, -0.625000,  0.625000,
     0.883883, -0.883883,  0.625000,
     0.102191, -0.246712,  0.511695,
     0.213636, -0.123343,  0.511695,
     0.883883, -0.883883,  0.625000,
     0.883883, -0.883883, -0.625000,
     0.102191, -0.246712, -0.511695,
     0.102191, -0.246712,  0.511695,
     0.883883, -0.883883, -0.625000,
     1.082532, -0.625000, -0.625000,
     0.213636, -0.123343, -0.511694,
     0.102191, -0.246712, -0.511695,
     1.207407, -0.323524,  0.625000,
     1.082532, -0.625000,  0.625000,
     0.213636, -0.123343,  0.511695,
     0.238280, -0.063847,  0.511695,
     1.082532, -0.625000, -0.625000,
     1.207407, -0.323524, -0.625000,
     0.238280, -0.063847, -0.511695,
     0.213636, -0.123343, -0.511694,
     1.250000, -0.000000,  0.625000,
     1.207407, -0.323524,  0.625000,
     0.238280, -0.063847,  0.511695,
     0.246712,  0.102191,  0.511695,
     1.207407, -0.323524, -0.625000,
     1.250000,  0.000000, -0.625000,
     0.246712,  0.102191, -0.511695,
     0.238280, -0.063847, -0.511695,
     1.250000,  0.000000, -0.625000,
     1.250000, -0.000000,  0.625000,
     0.246712,  0.102191,  0.511695,
     0.246712,  0.102191, -0.511695      
  ],

  faceIndices:[        
    [3,2,1,0],
    [7,6,5,4],
    [11,10,9,8],
    [15,14,13,12],
    [19,18,17,16],
    [23,22,21,20],
    [27,26,25,24],
    [31,30,29,28],
    [35,34,33,32],
    [39,38,37,36],
    [43,42,41,40],
    [47,46,45,44],
    [51,50,49,48],
    [55,54,53,52],
    [59,58,57,56],
    [63,62,61,60],
    [67,66,65,64],
    [71,70,69,68],
    [75,74,73,72],
    [79,78,77,76],
    [83,82,81,80],
    [87,86,85,84],
    [91,90,89,88],
    [95,94,93,92],
    [99,98,97,96],
    [103,102,101,100],
    [107,106,105,104],
    [111,110,109,108],
    [115,114,113,112],
    [119,118,117,116],
    [123,122,121,120],
    [127,126,125,124],
    [131,130,129,128],
    [135,134,133,132],
    [139,138,137,136],
    [143,142,141,140],
    [147,146,145,144],
    [151,150,149,148],
    [155,154,153,152],
    [159,158,157,156],
    [163,162,161,160],
    [167,166,165,164],
    [171,170,169,168],
    [175,174,173,172],
    [179,178,177,176],
    [183,182,181,180],
    [187,186,185,184],
    [191,190,189,188],
    [195,194,193,192],
    [199,198,197,196],
    [203,202,201,200],
    [207,206,205,204],
    [211,210,209,208],
    [215,214,213,212],
    [219,218,217,216],
    [223,222,221,220],
    [227,226,225,224],
    [231,230,229,228],
    [235,234,233,232],
    [239,238,237,236],
    [243,242,241,240],
    [247,246,245,244],
    [251,250,249,248],
    [255,254,253,252],
    [259,258,257,256],
    [263,262,261,260],
    [267,266,265,264],
    [271,270,269,268],
    [275,274,273,272],
    [279,278,277,276],
    [283,282,281,280],
    [287,286,285,284],
    [291,290,289,288],
    [295,294,293,292],
    [299,298,297,296],
    [303,302,301,300],
    [307,306,305,304],
    [311,310,309,308],
    [315,314,313,312],
    [319,318,317,316],
    [323,322,321,320],
    [327,326,325,324],
    [331,330,329,328],
    [335,334,333,332],
    [339,338,337,336],
    [343,342,341,340],
    [347,346,345,344],
    [351,350,349,348],
    [355,354,353,352],
    [359,358,357,356],
    [363,362,361,360],
    [367,366,365,364],
    [371,370,369,368],
    [375,374,373,372],
    [379,378,377,376],
    [383,382,381,380],
    [387,386,385,384],
    [391,390,389,388],
    [395,394,393,392],
    [399,398,397,396],
    [403,402,401,400],
    [407,406,405,404],
    [411,410,409,408],
    [415,414,413,412],
    [419,418,417,416],
    [423,422,421,420],
    [427,426,425,424],
    [431,430,429,428],
    [435,434,433,432],
    [439,438,437,436],
    [443,442,441,440],
    [447,446,445,444],
    [451,450,449,448],
    [455,454,453,452],
    [459,458,457,456],
    [463,462,461,460],
    [467,466,465,464],
    [471,470,469,468],
    [475,474,473,472],
    [479,478,477,476],
    [483,482,481,480],
    [487,486,485,484],
    [491,490,489,488],
    [495,494,493,492],
    [499,498,497,496],
    [503,502,501,500],
    [507,506,505,504],
    [511,510,509,508],
    [515,514,513,512],
    [519,518,517,516],
    [523,522,521,520],
    [527,526,525,524],
    [531,530,529,528],
    [535,534,533,532],
    [539,538,537,536],
    [543,542,541,540],
    [547,546,545,544],
    [551,550,549,548],
    [555,554,553,552],
    [559,558,557,556],
    [563,562,561,560],
    [567,566,565,564],
    [571,570,569,568],
    [575,574,573,572],
    [579,578,577,576],
    [583,582,581,580],
    [587,586,585,584],
    [591,590,589,588],
    [595,594,593,592],
    [599,598,597,596],
    [603,602,601,600],
    [607,606,605,604],
    [611,610,609,608],
    [615,614,613,612],
    [619,618,617,616],
    [623,622,621,620],
    [627,626,625,624],
    [631,630,629,628],
    [635,634,633,632],
    [639,638,637,636],
    [643,642,641,640],
    [647,646,645,644],
    [651,650,649,648],
    [655,654,653,652],
    [659,658,657,656],
    [663,662,661,660],
    [667,666,665,664],
    [671,670,669,668],
    [675,674,673,672],
    [679,678,677,676],
    [683,682,681,680],
    [687,686,685,684],
    [691,690,689,688],
    [695,694,693,692],
    [699,698,697,696],
    [703,702,701,700]
  ]
};  // mesh
        
        
var gearModelTemplate = {
  name:"pPipe1", 
  transformMatrix:[    
    1.000000, 0.000000, -0.000000, 0.000000,     
    0.000000, 1.000000, -0.000000, 0.000000,     
    -0.000000, -0.000000, 1.000000, 0.000000,     
    0.000000, 0.000000, -0.000000, 1.000000    
  ],    // transformMatrix 
  
  materials: [
    {ambientColor:[0.5, 0.5, 0.5] }
  ],
  
  meshList:[ 
    gearMeshTemplate
  ]  // meshList
};   // frame
